
<li class="dropdown user user-menu">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
        <i class="glyphicon glyphicon-user"></i>
        <span><{$beforeAction.User.UserName}> <i class="caret"></i></span>
    </a>
    <ul class="dropdown-menu">
        <!-- User image -->
        <li class="user-header" style="background-color: #008678;">
            <img src="/public/static/plugin/AdminLTE/img/avatar3.png" class="img-circle" alt="User Image" />
            <p>
                <{$beforeAction.User.UserName}> - <{$beforeAction.User.Account}>
                <small>
                    <{$beforeAction.User.Email}>
                    <a href="/?__acc_action=refresh">Refresh Auth</a>
                </small>
            </p>
        </li>
        <!-- Menu Footer-->
        <li class="user-footer">
            <div class="pull-left">
                <a href="/auth/?r=user/editSelf&g=<{$beforeAction.Nav.Value}>" style="margin: 0px;" class="btn btn-default btn-flat">修改密码</a>
            </div>
            <div class="pull-right">
                <a href="/home/?r=site/logout" style="margin: 0px;"  class="btn btn-default btn-flat">退出登录</a>
            </div>
        </li>
    </ul>
</li>